package com.sgolub.commanndsonline.domain.proxy;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.sgolub.commanndsonline.helpers.CustomDateSerializer;
//vent_advertising_registry
@Entity
@Table(name = "VENT_ADVERTISING_REGISTRY")
public class ProxyAdvertisingRegistry {
		
    
    @Id
    @Column(name = "ID")
    @GeneratedValue 
    private Integer id;
    
    @Column(name = "EXTERNAL_ID")
    private String externalId;
    
    @Column(name = "INVENTAR_NR")
    private String inventarNr;
    
    @Column(name = "SUPPORT_NR")
    private String supportNr;
    
    @Column(name = "SUPPORT_TYPE_ID")
    private String supportTypeId;
    
    @Column(name = "SUPPORT_TYPE_NAME")
    private String supportTypeName;
    
    @Column(name = "REGION_COD")
    private String regionCod;
    
    @Column(name = "REGION_NAME")
    private String regionName;
    
    @Column(name = "LOCALITY_COD")
    private String localityCod;
    
    @Column(name = "LOCALITY_NAME")
    private String localityName;
    
    @Column(name = "ADRESS")
    private String adress;
    
    @Column(name = "LOCATION_DESCRIPTION")
    private String locationDescription;
    
    @Column(name = "STATUS")
    private String status;
    
    @Column(name = "PRICE_BASE")
    private Integer price_base;
    
    @Column(name = "PRICE_VIP_A")
    private Integer price_vip_a;
    
    @Column(name = "PRICE_VIP_B")
    private Integer price_vip_b;	    
    
    @Column(name = "WIDTH")
    private Double width;
    
    @Column(name = "HEIGHT")
    private Double height;
    
    @Column(name = "LIGHT")
    private Boolean light;	  
    
    @Column(name = "FIRST_FREE_DATE")
	private Date firstFreeDate;

    
    
    
		public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getExternalId() {
		return externalId;
	}

	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}

	public String getInventarNr() {
		return inventarNr;
	}

	public void setInventarNr(String inventarNr) {
		this.inventarNr = inventarNr;
	}

	public String getSupportNr() {
		return supportNr;
	}

	public void setSupportNr(String supportNr) {
		this.supportNr = supportNr;
	}

	public String getSupportTypeId() {
		return supportTypeId;
	}

	public void setSupportTypeId(String supportTypeId) {
		this.supportTypeId = supportTypeId;
	}

	public String getSupportTypeName() {
		return supportTypeName;
	}

	public void setSupportTypeName(String supportTypeName) {
		this.supportTypeName = supportTypeName;
	}

	public String getRegionCod() {
		return regionCod;
	}

	public void setRegionCod(String regionCod) {
		this.regionCod = regionCod;
	}

	public String getRegionName() {
		return regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}

	public String getLocalityCod() {
		return localityCod;
	}

	public void setLocalityCod(String localityCod) {
		this.localityCod = localityCod;
	}

	public String getLocalityName() {
		return localityName;
	}

	public void setLocalityName(String localityName) {
		this.localityName = localityName;
	}

	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	public String getLocationDescription() {
		return locationDescription;
	}

	public void setLocationDescription(String locationDescription) {
		this.locationDescription = locationDescription;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}


	public Integer getPrice_base() {
		return price_base;
	}

	public void setPrice_base(Integer price_base) {
		this.price_base = price_base;
	}

	public Integer getPrice_vip_a() {
		return price_vip_a;
	}

	public void setPrice_vip_a(Integer price_vip_a) {
		this.price_vip_a = price_vip_a;
	}

	public Integer getPrice_vip_b() {
		return price_vip_b;
	}

	public void setPrice_vip_b(Integer price_vip_b) {
		this.price_vip_b = price_vip_b;
	}

	public Double getWidth() {
		return width;
	}

	public void setWidth(Double width) {
		this.width = width;
	}

	public Double getHeight() {
		return height;
	}

	public void setHeight(Double height) {
		this.height = height;
	}

	public Boolean getLight() {
		return light;
	}

	public void setLight(Boolean light) {
		this.light = light;
	}

		@JsonSerialize(using = CustomDateSerializer.class)
		public Date getFirstFreeDate() {
			return firstFreeDate;
		}

		public void setFirstFreeDate(Date firstFreeDate) {
			this.firstFreeDate = firstFreeDate;
		}	
	    
	    
}
